package com.likeycy.my.tool;

/**
 * @ClassName: AssertUtils
 * @Description: 断言测试
 * @Author: sodagreen
 * @Date: 2021/2/21 8:33
 * @Version: 1.0
 */
public class AssertUtils {
    public static void test(boolean value) {
        try {
            if (!value) {
                throw new Exception("测试不通过");
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
